<div>
    <el-drawer
            title="测试功能列表"
            :visible.sync="drawer">
        <div style="margin-left: 30px;">
            <el-link type="primary" @click="toWebsocketPage()">测试websocket</el-link>
        </div>
    </el-drawer>

    <div class="el-dialog--center" style="margin: 20px 0 20px 0;">
        <el-button type="primary" @click="openDrawer()">打开测试列表</el-button>
    </div>
</div>